#ifndef HASHNODE_H
#define HASHNODE_H_

class Hashnode
{
 private:
  char* word;
  int count;
  Hashnode* next;

 public:
  Hashnode* nil;
  bool isempty;
  Hashnode();
  Hashnode(char* _word);
  ~Hashnode();
  int get_count() const;
  char* get_word() const;
  Hashnode* get_next() const;
  void set_count(int _count);
  void set_next(Hashnode* _next);
};

#endif
